const router = [
  {
    path: '/enterprise',
    name: 'ENTERPRISE_LIST',
    component: () => import('@views/enterprise/index.vue'),
    meta: {
      title: '企业名录',
      deepth: 1,
    },
  },
  {
    path: '/enterpriseUpdate',
    name: 'ENTERPRISE_LIST_UPDATE',
    component: () => import('@views/enterprise/indexUpdate.vue'),
    meta: {
      title: '企业名录维护',
      deepth: 1,
    },
  },
  {
    path: '/enterprise/create/:id?',
    name: 'enterpriseCreate',
    component: () => import('@views/enterprise/create/index.vue'),
    meta: {
      title: '企业名录添加',
      deepth: 2,
    },
  },
  {
    path: '/enterprise/details/:id',
    name: 'enterpriseDetails',
    component: () => import('@views/enterprise/details/index.vue'),
    meta: {
      title: '企业名录详情',
      deepth: 2,
    },
  },
]
export default router
